package com.ruoyi.finance.rules.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 数字直播其它规则表
 * </p>
 *
 * @author wangmh
 * @since 2023-09-21
 */
@TableName("sz_other_rule")
@ApiModel(value = "SzOtherRule对象", description = "数字直播其它规则表")
public class SzOtherRule implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("返还能量值")
    @TableField("energy")
    private BigDecimal energy;

    @ApiModelProperty("直播分红比例")
    @TableField("live_reward_ratio")
    private BigDecimal liveRewardRatio;

    @ApiModelProperty("复购奖励比例")
    @TableField("repeat_buy_ratio")
    private BigDecimal repeatBuyRatio;

    @ApiModelProperty("公益基金比例")
    @TableField("donate_ratio")
    private BigDecimal donateRatio;

    @ApiModelProperty("提现手续费比例")
    @TableField("extract_ratio")
    private BigDecimal extractRatio;

    @ApiModelProperty("提现税收比例")
    @TableField("revenue_ratio")
    private BigDecimal revenueRatio;

    @ApiModelProperty("产品定价")
    @TableField("pricing")
    private BigDecimal pricing;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public BigDecimal getEnergy() {
        return energy;
    }

    public void setEnergy(BigDecimal energy) {
        this.energy = energy;
    }
    public BigDecimal getLiveRewardRatio() {
        return liveRewardRatio;
    }

    public void setLiveRewardRatio(BigDecimal liveRewardRatio) {
        this.liveRewardRatio = liveRewardRatio;
    }
    public BigDecimal getRepeatBuyRatio() {
        return repeatBuyRatio;
    }

    public void setRepeatBuyRatio(BigDecimal repeatBuyRatio) {
        this.repeatBuyRatio = repeatBuyRatio;
    }
    public BigDecimal getDonateRatio() {
        return donateRatio;
    }

    public void setDonateRatio(BigDecimal donateRatio) {
        this.donateRatio = donateRatio;
    }
    public BigDecimal getExtractRatio() {
        return extractRatio;
    }

    public void setExtractRatio(BigDecimal extractRatio) {
        this.extractRatio = extractRatio;
    }
    public BigDecimal getRevenueRatio() {
        return revenueRatio;
    }

    public void setRevenueRatio(BigDecimal revenueRatio) {
        this.revenueRatio = revenueRatio;
    }
    public BigDecimal getPricing() {
        return pricing;
    }

    public void setPricing(BigDecimal pricing) {
        this.pricing = pricing;
    }

    @Override
    public String toString() {
        return "SzOtherRule{" +
            "id=" + id +
            ", energy=" + energy +
            ", liveRewardRatio=" + liveRewardRatio +
            ", repeatBuyRatio=" + repeatBuyRatio +
            ", donateRatio=" + donateRatio +
            ", extractRatio=" + extractRatio +
            ", revenueRatio=" + revenueRatio +
            ", pricing=" + pricing +
        "}";
    }
}
